package com.zhaoyan.okgorxjavademo;

import java.io.Serializable;

/**
 * Created by cxy on 2017/12/19.
 */

public class BaseEntity implements Serializable {
    private boolean success;
    private String message;
    private String errorCode;
    private int total;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}
